# LuckPay Web Manage System
#
# Copyright (c) 2016 Lucky Byte, Inc.
#
$ ->
    # 起始行号回车查询
    $("form input[start_no]").keypress (evt) ->
        $('form#search_form').submit()

    # 下拉查询条件改变时触发提交
    $('form#search_form .dropdown.input').dropdown
        onChange : (value, text, $choice) ->
            $('form#search_form').submit()
